package com.wyh.alibaba.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wyh
 * @version 1.0
 * @date 2021/11/22 16:52
 */
@Component
@FeignClient(value = "nacos-payment-provider")
public interface FeignOrderClient {

    @GetMapping("/payment/nacos/{id}")
    public String nacos(@PathVariable("id") Integer id);
}
